package com.shuang.springweb.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;
import org.springframework.web.util.WebUtils;



@Controller
@RequestMapping("/test")
public class TestContrlloer extends MultiActionController {
	
	public TestContrlloer() {
		System.out.println("TestContrlloer");
	}
	
	
	@RequestMapping("list")
	public String list(HttpServletRequest request,HttpServletResponse response,String s) {
		System.out.println("=====================");
		return "index";
	}
	public ModelAndView list1(HttpServletRequest request,HttpServletResponse response,Model model) {
		System.out.println("=====================");
		return new ModelAndView();
	}

}
